using System;
using Gtk;
using GtkSharp;
using System.Net;

namespace wc_gui_input
{
	
	public class test : Gtk.Window
	{
		
		public test() : 
				base("")
		{
			Stetic.Gui.Build(this, typeof(wc_gui_input.test));
					HTML html;
		Window win;
		Application.Init ();
		html = new HTML ();
		win = new Window ("Test");
		win.Add (html);
		HTMLStream s = html.Begin ("text/html");
		html.Editable=true;
		String line;
		while ((line = Console.ReadLine ()) != null)
                        s.Write (line);
                 html.End (s, HTMLStreamStatus.Ok);
		win.ShowAll ();
		Application.Run ();
		
		}
	}
	
}
